package com.sc.javaee.pojo;

import java.io.Serializable;

public class HomeRecommendations implements Serializable {
    private Integer recommendationId;

    private String title;

    private Double price;

    private String img;

    private String description;

    private static final long serialVersionUID = 1L;

    public Integer getRecommendationId() {
        return recommendationId;
    }

    public void setRecommendationId(Integer recommendationId) {
        this.recommendationId = recommendationId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", recommendationId=").append(recommendationId);
        sb.append(", title=").append(title);
        sb.append(", price=").append(price);
        sb.append(", img=").append(img);
        sb.append(", description=").append(description);
        sb.append("]");
        return sb.toString();
    }
}